package com.vegetable.modules.mapper.outbound;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.vegetable.modules.entity.outbound.SalesOutDetail;
import com.vegetable.modules.entity.outbound.po.DeductionQueryPO;
import com.vegetable.modules.entity.outbound.po.SalesOutSequencePO;
import com.vegetable.modules.entity.outbound.vo.DeductionVO;
import com.vegetable.modules.entity.outbound.vo.SalesOutDetailVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 销售出库单 Mapper 接口
 * </p>
 *
 * @author wangruijie
 * @since 2024-04-01
 */
@Mapper
public interface SalesOutDetailMapper extends BaseMapper<SalesOutDetail> {

    /**
     * 入库代办交货总表查询
     * @param po
     * @return
     */
    IPage<SalesOutDetailVO> sequence(IPage page, SalesOutSequencePO po);
    
    IPage<DeductionVO> deductionList(IPage page, DeductionQueryPO po);
}
